﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ICSharpCode.Core;
using Agnes.Core;
using Agnes.Libaray;

namespace Agnes.Startup
{
    [Serializable]
    class Program
    {
        [STAThread]
        static void Main(string[] args)
        {
            Console.WriteLine("------------------------Agnes Personal Application Platform--------------------");
            Console.WriteLine("-----------------------------------------------------------Alpha 1-------------");
            /*Console.WriteLine("检查注册表文件关联.......");
            if (!AgnesFileTypeRegister.UpdateFileTypeRegInfo())
            {
                Console.WriteLine("进行解决方案关联......");
                AgnesFileTypeRegister.RegisterFileType();
            }*/
            AgnesServiceManager.Instance.StartLaunchCodon();
            AgnesServiceManager.Instance.OnShutDown();
            AgnesServiceManager.AgnesSlnService.CloseAndSaveCurrentSln();
        }
    }
}
